@import '../../style/constant.scss';

.mask {
  @include positionFixed();
  z-index: 99;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
}
.active {
  @include ifndef(display, block, rn);
}

.container {
  @include positionFixed();
  left: 50%;
  top: 50%;
  z-index: 100;
  @include ifndef(transform, translate(-50%, -50%), rn);
  @include ifndef(-webkit-transform, translate(-50%, -50%), rn);
  width: 300px;
  border-radius: 3px;
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
}

.titleText {
  padding: 20px 24px 9px;
  font-size: 18px;
  font-weight: 500;
  color: $primaryBlack;
  @include line-ellipsis-x(2);
}

.contentText {
  margin: 0 24px 12px;
  font-size: 15px;
  color: rgb(128, 128, 128);
  line-height: 20px;
  min-height: 40px;
  @include line-ellipsis-x(3);
}

.bottomContainer {
  display: flex;
  position: relative;
  height: 48px;
  text-align: center;
  &:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 1px;
    border-top: 1px solid #D5D5D6;
    color: #D5D5D6;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
  }
}
.cancelText {
  flex: 1;
  color: $common;
  font-size: 18px;
  line-height: 48px;
  @include tabActive();
}

.confirmText {
  flex: 1;
  color: $theme;
  font-size: 18px;
  line-height: 48px;
  position: relative;
  @include tabActive();
  &:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    bottom: 0;
    border-left: 1px solid #D5D5D6;
    color: #D5D5D6;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: scaleX(0.5);
    transform: scaleX(0.5);
  }
}
